
cc.Class({
    extends: cc.Component,

    properties: {
        nameLabel:cc.Label,
        username:{
            get(){return this.nameLabel == null ? '': this.nameLabel.string;},
            set(n){ this.nameLabel && (this.nameLabel.string = n);},
        },

        paoLabel: cc.Label,
        dianpao: {
            get() { return this.paoLabel == null ? '' : this.paoLabel.string; },
            set(n) { this.paoLabel && (this.paoLabel.string = n); },
        },

        huLabel: cc.Label,
        hupai: {
            get() { return this.huLabel == null ? '' : this.huLabel.string; },
            set(n) { this.huLabel && (this.huLabel.string = n); },
        },

        zimoLabel: cc.Label,
        zimo: {
            get() { return this.zimoLabel == null ? '' : this.zimoLabel.string; },
            set(n) { this.zimoLabel && (this.zimoLabel.string = n); },
        },

        scoreLabel: cc.Label,
        score: {
            get() { return this.scoreLabel == null ? '' : this.scoreLabel.string; },
            set(n) { this.scoreLabel && (this.scoreLabel.string = n); },
        },
    },

    start () {

    },

});
